home *** CD-ROM | disk | FTP | other *** search
- Path: news.lpr.carel.fi!usenet
- From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
- Newsgroups: comp.lang.c
- Subject: Re: C Code to Pseudo Description Language Converter Needed
- Date: Fri, 29 Mar 1996 13:57:25 +0200
- Organization: Carelcomp Products
- Message-ID: <315BD025.1D5B@cmt.lpr.mail.carel.fi>
- References: <4jendc$afq@explorer.csc.com>
- NNTP-Posting-Host: renoir.cclahti.carel.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Frank Perez wrote:
- >
- > I need to get a hold of some type of program that converts C
- > code to some type of Pseudo Description English-like
- > language.
- >
-
- Yeah, like this:
-
- #include <stdio.h>
- #include <stdlib.h>
-
- int main(void)
- {
- int i;
-
- for (i = 0; i < 10; i++)
- printf("Hello, world!\n");
- return EXIT_SUCCESS;
- }
-
- would produce:
-
- Include the contents of file stdio.h.
- Include the contents of file stdlib.h.
- Set integer variable i to zero.
- While i is less than 10 loop the following:
- Print the text "Hello, world!" followed by a newline
- to the standard output.
- Increment i.
- Return the success code to the operating system.
-
- Right?
-
- Later,
- AriL
-
- --
- All my opinions are mine and mine alone.
-